package com.scheduling.product.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 产品数据传输对象
 *
 * @author 开发团队
 * @since 2025-05-29
 */
@Data
@Schema(description = "产品信息")
public class ProductDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "产品ID")
    private String productId;

    @Schema(description = "产品名称", required = true)
    @NotBlank(message = "产品名称不能为空")
    private String productName;

    @Schema(description = "产品描述")
    private String description;
} 